#include"UdpServe.hpp"
#include <memory>
int main(){
     EnableScreen(); 
      dict aim("./dict.txt");
    func_t trans= std::bind(&dict::translate, &aim, std::placeholders::_1);
    std::unique_ptr<serve> usvr = std::make_unique<serve>(trans,8889); //C++14的标准
    usvr->Init_Socket();
    usvr->to_start();
   return 0;
}